{% extends 'ApiCloud/Base/layout.common.html.twig' %}

{% block main %}
    {% include "ApiCloud/Base/inc.head.light.html.twig" with {title:"我的任务",back:1} %}
    <mu-tabs :value.sync="curTab" inverse :color="c1" text-color="rgba(0, 0, 0, .54)"  full-width>
        <mu-tab>全部</mu-tab>
        <mu-tab>无报价</mu-tab>
        <mu-tab>未选标</mu-tab>
        <mu-tab>已选标</mu-tab>
        {#        <mu-tab>待确认<span>(1)</span></mu-tab>#}
        {#        <mu-tab>待评价<span>(3)</span></mu-tab>#}
        {#        <mu-tab>已完成</mu-tab>#}
    </mu-tabs>
    <div class="pad5 bdtso bdc13">
        <div v-if="isTrue(list)">
            <div class="marb5 pos-r bcf" style="" v-for="item in list" v-if="curTab == 0">
                {% include "ApiCloud/Base/inc.task.list.edit.html.twig"%}
            </div>
            <div class="marb5 pos-r bcf" style="" v-for="item in list" v-if="curTab == 1 && item.vote.length == 0">
                {% include "ApiCloud/Base/inc.task.list.edit.html.twig"%}
            </div>
            <div class="marb5 pos-r bcf" style="" v-for="item in list" v-if="curTab == 2 && item.vote.length > 0 && item.status < 300">
                {% include "ApiCloud/Base/inc.task.list.edit.html.twig"%}
            </div>
            <div class="marb5 pos-r bcf" style="" v-for="item in list" v-if="curTab == 3 && item.status >= 300">
                {% include "ApiCloud/Base/inc.task.list.edit.html.twig"%}
            </div>
        </div>
    </div>
{% endblock %}
